type anyObj = {
    [x in string]: any
}
export const merchantsType = {
    "0": "金融机构",
    "1": "持车机构"
}

export const transOption = (obj: anyObj) => {
    const list: {
      label: string;
      value: string;
    }[] = [];
    Object.keys(obj).forEach((key) => list.push({ label: obj[key], value: key }));
    return list;
  };